package com.solcoo.merchant.ui.qrcode;

import android.os.Bundle;
import android.widget.ImageView;

import com.solcoo.common.App;
import com.solcoo.merchant.ApplicationExt;
import com.solcoo.merchant.R;
import com.solcoo.merchant.base.BaseActivity;
import com.solcoo.merchant.qrcode.Qrcode;

public class QrcodeActivity extends BaseActivity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.qrcode);
		ImageView qrcodeView = (ImageView) findViewById(R.id.qrcode);
		qrcodeView.setImageBitmap(Qrcode.create(
				ApplicationExt.getUser().shoujih, App.DISPLAY.SCREEN_WIDTH));
	}

}
